//
//  BPCustomLabel.h
//  BeautyPicture
//
//  Created by 沈振邦 on 16/1/12.
//  Copyright © 2016年 szb. All rights reserved.
//

#import <UIKit/UIKit.h>

@class BPCustomLabel;

@protocol BPCustomLabelDelegate <NSObject>

@optional

- (void)tapCustomLabel:(UITapGestureRecognizer *)sender;

@end

@interface BPCustomLabel : UILabel

@property (nonatomic,weak)id<BPCustomLabelDelegate> delegate;
//字体大小
@property (nonatomic,assign)CGFloat textfontSize;

@property (nonatomic,assign)CGSize diyAreaSize;

@property (nonatomic,assign)int textDirection;
//字体样式
@property (nonatomic,copy)NSString *sbfont;

//水平方向排列
- (void)horizontalSetUpText:(NSString *)text;

//垂直方向排列
- (void)verticalSetUpText:(NSString *)text;

//换字体font
- (void)changeLabelFont:(NSString *)fontName;


@end
